package cn.iocoder.yudao.module.dr.controller.admin.data.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据共享分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DataPageReqVO extends PageParam {

    @Schema(description = "数据名称", example = "芋艿")
    private String dataName;

    @Schema(description = "数据编号")
    private Integer dataNum;

    @Schema(description = "数据量", example = "12173")
    private String dataCount;

    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "数据描述")
    private String dataDesc;

    @Schema(description = "附件")
    private String attachFile;

    @Schema(description = "共享状态", example = "2")
    private String shareStatus;

    @Schema(description = "数据接口", example = "https://www.iocoder.cn")
    private String dataUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}